/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 霓虹灯主题基础设置 */
body {
    background-color: #0f0b21;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(120, 40, 200, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 60, 120, 0.1) 0%, transparent 40%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

/* 背景发光装饰 */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    z-index: 0;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background-color: #7828c8;
    top: -200px;
    right: -100px;
}

.bg-glow-2 {
    width: 600px;
    height: 600px;
    background-color: #ff3c78;
    bottom: -200px;
    left: -100px;
}

.bg-glow-3 {
    width: 400px;
    height: 400px;
    background-color: #00ffcc;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 注册容器 */
.register-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    z-index: 1;
}

/* 注册卡片 */
.register-card {
    background-color: rgba(15, 11, 33, 0.85);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow:
        0 0 15px rgba(120, 40, 200, 0.3),
        0 0 30px rgba(255, 60, 120, 0.2),
        0 0 20px rgba(0, 255, 204, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* 霓虹灯标题效果 */
.neon-title {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #00ffcc,
        0 0 20px #00ffcc,
        0 0 25px #00ffcc;
    margin-bottom: 10px;
    font-size: 2rem;
}

.tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* 注册表单 */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* 输入组 */
.input-group {
    position: relative;
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: 30px;
    border: 1px solid rgba(0, 255, 204, 0.5);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #00ffcc;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* 条款同意（带√效果） */
.terms-agreement {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    margin-top: 5px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

/* 隐藏原生复选框 */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* 自定义复选框样式 */
.checkmark {
    position: relative;
    top: 2px;
    height: 18px;
    width: 18px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    transition: all 0.3s ease;
}

/* 选中状态添加√ */
.custom-checkbox input:checked ~ .checkmark::after {
    content: "✓";
    position: absolute;
    color: #00ffcc;
    font-size: 14px;
    top: -2px;
    left: 2px;
    text-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc;
}

/* 选中状态样式 */
.custom-checkbox input:checked ~ .checkmark {
    border-color: #00ffcc;
    box-shadow: 0 0 5px #00ffcc, 0 0 10px rgba(0, 255, 204, 0.5);
}

/* 鼠标悬停效果 */
.custom-checkbox:hover input:not(:checked) ~ .checkmark {
    border-color: rgba(0, 255, 204, 0.7);
}

/* 注册按钮 */
.register-btn {
    padding: 15px;
    border-radius: 30px;
    background-color: rgba(0, 255, 204, 0.15);
    border: 1px solid #00ffcc;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 10px;
}

.neon-btn {
    box-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc;
}

.neon-btn:hover {
    box-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
    background-color: rgba(0, 255, 204, 0.25);
}

/* 登录提示 */
.login-prompt {
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.neon-link {
    color: #ff3c78;
    text-decoration: none;
    text-shadow: 0 0 5px #ff3c78;
    transition: all 0.3s ease;
}

.neon-link:hover {
    text-shadow: 0 0 10px #ff3c78;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .register-card {
        padding: 30px 20px;
    }

    .neon-title {
        font-size: 1.8rem;
    }

    .terms-agreement {
        font-size: 0.75rem;
    }
}
/* 注册按钮 - 增强交互效果 */
.register-btn {
    padding: 15px;
    border-radius: 30px;
    background-color: rgba(0, 255, 204, 0.15);
    border: 1px solid #00ffcc;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    margin-top: 10px;
}

/* 悬停效果 */
.register-btn:hover {
    box-shadow: 0 0 15px #00ffcc, 0 0 30px rgba(0, 255, 204, 0.7);
    background-color: rgba(0, 255, 204, 0.25);
    transform: translateY(-2px);
}

/* 点击效果 */
.register-btn:active {
    transform: translateY(1px);
    box-shadow: 0 0 8px #00ffcc, 0 0 15px rgba(0, 255, 204, 0.5);
    background-color: rgba(0, 255, 204, 0.35);
}

/* 按钮内部发光效果 */
.register-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(0, 255, 204, 0) 0%,
        rgba(0, 255, 204, 0.3) 50%,
        rgba(0, 255, 204, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.register-btn:hover::after {
    left: 120%;
}

.neon-btn {
    box-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc;
}
/* 增强立即登录链接效果 */
.neon-link {
    color: #ff3c78;
    text-decoration: none;
    text-shadow: 0 0 5px #ff3c78;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 0;
}

.neon-link:hover {
    text-shadow: 0 0 10px #ff3c78, 0 0 20px rgba(255, 60, 120, 0.8);
}

/* 点击效果 */
.neon-link:active {
    color: #ff6b96;
    text-shadow: 0 0 8px #ff6b96;
    transform: scale(0.95);
}

/* 下划线动画 */
.neon-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ff3c78;
    box-shadow: 0 0 5px #ff3c78;
    transition: width 0.3s ease;
}

.neon-link:hover::after {
    width: 100%;
}